Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / DrawingStateBlock Class / Create Method / Create(Factory,Nullable<DrawingStateDescription>,RenderingParams) Method
an instance of Factory
A structure that contains antialiasing, transform, and tags information.
Optional text parameters that indicate how text should be rendered.

In This Topic
    Create(Factory,Nullable<DrawingStateDescription>,RenderingParams) Method
    In This Topic
    Creates an DrawingStateBlock that can be used with the {{SaveDrawingState}} and {{RestoreDrawingState}} methods of a render target.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal factory As Factory, _
       ByVal drawingStateDescription As System.Nullable(Of DrawingStateDescription), _
       ByVal textRenderingParams As RenderingParams _
    ) As DrawingStateBlock
    public static DrawingStateBlock Create( 
       Factory factory,
       System.Nullable<DrawingStateDescription> drawingStateDescription,
       RenderingParams textRenderingParams
    )

    Parameters

    factory
    an instance of Factory
    drawingStateDescription
    A structure that contains antialiasing, transform, and tags information.
    textRenderingParams
    Optional text parameters that indicate how text should be rendered.
    See Also